package com.kgc.cgapi.service;

import com.kgc.basic.util.ResponseMsg;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

public interface CGBJServiceApi {

    @RequestMapping("/getCGBJPage")
    public ResponseMsg getCGBJPage(@RequestBody Map<String, Object> param);

    @RequestMapping("/addCGBJ")
    public ResponseMsg addCGBJ(@RequestBody Map<String, Object> param);

    @RequestMapping("/getCGBJ")
    ResponseMsg getCGBJ(@RequestParam(name = "code") String code);

    @RequestMapping("/modiCGBJ")
    ResponseMsg modiCGBJ(@RequestBody Map<String,Object>param);

    @RequestMapping("getCGBJPageByProId")
    ResponseMsg getCGBJPageByProId(@RequestBody Map<String,Object> map);
}
